package com.unmarshaller.demo;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlRootElement;

import com.unmarshaller.annotation.FilePath;

@FilePath("demo/a.xml")
@XmlRootElement(name = "demo")
@XmlAccessorType(XmlAccessType.NONE)
public class Model_A
{
	@XmlAttribute(name = "id")
	String id;
	
	@XmlList
	@XmlElement(name = "list", type = Integer.class)
	private List<Integer> list;

	public String getId() 
	{
		return id;
	}
	
	public List<Integer> getList()
	{
		return this.list;
	}
}